package com.cqch.pojo.repVo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author CQCH
 * @Description
 * @Date 2022/3/28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseResp {

    private Integer code;

    private String msg;

    private Object data;

    private Long total;

    public BaseResp Error(){
        return new BaseResp(0,"失败!",null,null);
    }
}
